#ifndef GLcontext_h
#define GLcontext_h
// OpenGL and GLEW Header Files and Libraries  
#include  <gl\glew.h>
#include <gl\wglew.h>
#include "Loadshader.h"
#include "Gamefont.h"

#include "Scene_1.h"
#include "Scene_2.h"

class GLcontext
{
public:
	GLcontext(); //Default constructor
	~GLcontext();
	void SetupScene(void); // All scene information can be setup here  
	void ReshapeWindow(int w, int h); // Method to get our window width and height on resize  
	void RenderScene(void); // Render scene (display method from previous OpenGL tutorials) 
	void GetKey(int key){ this->key = key; }

private:
	int key;
	Dengine::Loadshader shader;
	freetype::Gamefont font;

	GLsizei windowWidth; // Store the width of our window  
	GLsizei windowHeight; // Store the height of our window  

	void* pointer; //This pointer will point to Scene classes. It will help to manage the screen changes.
	Scene firstscene; //This is our first scene
	Scene_2 secondscene; //This is our second scene
	GLuint program;
};
#endif